package org.framework.core.validate.support.param;

import org.framework.core.error.support.Errors;
import org.framework.core.validate.exception.ValidationException;
import org.framework.core.validate.support.AbstractParam;
import org.framework.define.bean.result.Errcode;

/**
 * 	验证参数
 *  继承该类 只有validateValue 功能
 */
public abstract class ValidateParam extends AbstractParam {

	@Override
	protected boolean validateMin(String paramString) {
		return true;
	}

	@Override
	protected boolean validateMax(String paramString) {
		return true;
	}
	
	@Override
	protected Errcode validateEnumsRange(String paramString) throws ValidationException {
		return Errors.OK;
	}
	
	@Override
	public void checkRangeLegitimate(String mapping) {
	}
}
